package com.jy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 车位类型表
 * </p>
 *
 * @author xiexingxin
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_type")
public class Type implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，停车场区域Id，自增
     */
    @TableId(value = "typeId", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 车位名称
     */
    private String typeName;
    
}
